Problem Note 39778: Job status is incorrectly displayed as an error when jobs that are submitted to a SAS grid through SAS® Management Console create warnings
When warnings occur for jobs that are submitted to a SAS grid in SAS Management Console, the job status might be displayed as an error instead of a warning. By default, SAS Management Console provides an alert for jobs that encounter warnings. However, the job status should be displayed as a warning.
To correct this problem so that the job status is appropriately displayed as a warning, do the following.
For a Windows Grid Environment
Open the sasgrid.cmd file that is located in the \Lev1\SASxxx\GridServer directory and add the following to the end of the file:
if %SASRC%==1 goto makenormalexit
exit /b %SASRC%
:makenormalexit
exit /b 0
For a UNIX Grid Environment
Open the sasgrid file located in the /Lev1/SASxxx/GridServer directory and add the following at the end of the file:
# Add this code to capture exit=1 (SAS warning) and make it exit=0
eval
$cmd
rc=$?
if [ $rc -eq 1 ]; then
exit 0
else
exit $rc
fi
Operating System and Release Information
SAS System | SAS Grid Manager | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft® Windows® for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
HP-UX IPF | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Linux | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Linux for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Solaris for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-10-18 16:41:06 |
Date Created: | 2010-05-26 10:58:00 |